<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/11/1 0001
 * Time: 上午 8:31
 */
$link=mysqli_connect('localhost','root','');
if(!$link){
    die('连接数据库失败！'.mysqli_error($link));
}
mysqli_query($link,'set names utf8');
mysqli_query($link,'use itcast');
$e_id=$_GET['e_id'];
$sql="delete from emp_info where e_id={$e_id}";
$result=mysqli_query($link,$sql);
define('APP','itcast');
header('Location:showList.php');
?>